<?php

use plugin\ycMassage\utils\enum\NoticeType;
# 基本配置
return [
    [
        'name'          => NoticeType::ORDERS_PAY['value'],
        'title'         => '订单支付通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'voice_template' => '',
            'mobile' => 1,
            'voice_mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::ORDERS_PAY['sms_template']['technician'],
                'voice_template' => NoticeType::ORDERS_PAY['voice_template']['technician'],
            ]
        ],
    ],
    [
        'name'          => NoticeType::TECHNICIAN_VERIFICATION['value'],
        'title'         => '技师核验通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::TECHNICIAN_VERIFICATION['sms_template']['technician']
            ]
        ],
    ],
    [
        'name'          => NoticeType::SERVICE_START['value'],
        'title'         => '服务开始通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::SERVICE_START['sms_template']['technician']
            ]
        ],
    ],
    [
        'name'          => NoticeType::SERVICE_END['value'],
        'title'         => '服务结束通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::SERVICE_END['sms_template']['technician']
            ]
        ],
    ],
    [
        'name'          => NoticeType::REFUND['value'],
        'title'         => '退款成功通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::REFUND['sms_template']['technician']
            ]
        ],
    ],
    [
        'name'          => NoticeType::EXAMINE['value'],
        'title'         => '审核结果通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::EXAMINE['sms_template']['technician']
            ]
        ],
    ],
    [
        'name'          => NoticeType::TRANSFERRING['value'],
        'title'         => '转单通知',
        'value'         => [
            'state' => 1,
            'sms_template' => '',
            'voice_template' => '',
            'mobile' => 1,
            'voice_mobile' => 1,
            'wx' => 1,
        ],
        'component'     => 'remote',
        'extra'         => [
            'props' => [
                'file' => "app/ycMassage/remote/form/notice-input",
                'sms_template' => NoticeType::TRANSFERRING['sms_template']['technician'],
                'voice_template' => NoticeType::TRANSFERRING['voice_template']['technician']
            ]
        ],
    ],
];
